{if is_array($field)}

{foreach from=$field.fields item=nextfield}

			{if file_exists("`$CMS_TPL_DIR`forms/`$nextfield.formtype`.tpl")}
				{include file="`$CMS_TPL_DIR`forms/`$nextfield.formtype`.tpl" content=$nextfield obj=$obj}
			{else}
				<strong>MISSING</strong> {$field.formtype}<br />
			{/if}

{/foreach}

{/if}